﻿/* 
 *  <copyright file="ContentProcessor1.cs" company="Wesley Jowitt">
 *  
 *  SobrietyEngine: Copyright (c) 2011 Wesley Jowitt
 *  
 *  This software is distributed under a software license.
 *   * As of the creation time of this file, the license in use is the Microsoft Permissive License (Ms-PL) 
 *    * The license can be viewed at:
 *     * License.Txt in the root folder of this project
 *      * http://sobrietyengine.codeplex.com/license
 *       * http://www.microsoft.com/opensource/licenses.mspx
 *       
 *  </copyright>
 *   */

using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
using SobrietyEngine.Common;
using SobrietyEngine.Actor;

using TWrite = System.String;

namespace XnaCP
{
    class CFGWriter : ContentTypeWriter<TWrite>
    {
        protected override void Write(ContentWriter output,  TWrite value)
        {
            output.WriteObject<String>(value);
        }

        public override string GetRuntimeReader(TargetPlatform targetPlatform)
        {
            return typeof(TWrite).AssemblyQualifiedName;
        }
    }
}
